package io.renren.modules.ProjectControl.ProcessSchedule.plm;


import io.renren.modules.ProjectControl.ProcessSchedule.Service.plm.PlmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RefreshScope
@RequestMapping("/plm/wpplan")
public class TWpPlanController {

    @Autowired
    PlmService plmService;
@GetMapping("/list")
public String list(@RequestParam Map<String, Object> map){
    System.out.println(map);
    return plmService.list(map);
}

}
